package com.ssy.lingxi.platform.manage.api.model.dto.secret;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 采购需求单密钥校验
 */
@Data
public class CheckPasswordDTO {

    /**
     * 会员ID
     */
    @NotNull(message = "会员ID不能为空")
    private Long memberId;

    /**
     * 会员ID
     */
    @NotNull(message = "会员ID不能为空")
    private Long memberRoleId;

    /**
     * 秘钥
     */
    @NotEmpty(message = "秘钥不能为空")
    private String password;

}
